package org.ddxz.liquibase.rest;

import org.ddxz.liquibase.service.ImageService;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;
import org.springframework.web.bind.annotation.RestController;

/**
 * description
 *
 * @author 朱宗刚
 * @version 1.0.0
 * @date 2024/4/15
 */

@RestController
public class ImageGeneral {
    @RequestMapping
    public void generalImage(@RequestParam("type") Integer type) {
        service.generalImage(type);
    }

    private final ImageService service;

    public ImageGeneral(ImageService service) {
        this.service = service;
    }
}
